package com.kanshu.ksgb.fastread.doudou.common.net;

public class ResponseData<T> {

    private ResultBean<T> result;

    public ResultBean<T> getResult() {
        return result;
    }

    public void setResult(ResultBean<T> result) {
        this.result = result;
    }

    public static class ResultBean<T> {

        private StatusBean status;
        private T data;

        public StatusBean getStatus() {
            return status;
        }

        public void setStatus(StatusBean status) {
            this.status = status;
        }

        public T getData() {
            return data;
        }

        public void setData(T data) {
            this.data = data;
        }

        public static class StatusBean {
            /**
             * code : 0
             * msg : succ
             */

            private int code;
            private String msg;

            public int getCode() {
                return code;
            }

            public void setCode(int code) {
                this.code = code;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }
        }
    }
}
